﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using Common;

namespace MODEL
{
    public enum UserStatus
    {
        [Description("在线")]
        OnLine,
        [Description("离线")]
        DeadLine
    }

    public enum AlertType
    {
        [Description("一般预警")]
        NormalAlert,
        [Description("用户预警")]
        CustomerAlert
    }

    public enum StationDataType
    {
        [Description("实时数据")]
        RealData,
        [Description("统计数据")]
        CountData
    }

    public enum GetAlterTerminalType
    {
        GetAll
    }

    public enum MessageReleaseType
    {
        [Description("发布消息")]
        MessageRelease,
        [Description("用户预警")]
        UserAlert,
        [Description("指标预警")]
        TargetAlert,
        [Description("一般预警")]
        NormalAlert
    }

    public enum AirQuantityEnum
    {
        [Description("差")]
        Worse,
        [Description("较差")]
        LittleWorse,
        [Description("一般")]
        Normal,
        [Description("良好")]
        LittleGood,
        [Description("很好")]
        Good
    }

    public enum StationTypeEnum
    {
        [Description("大监站")]
        BigControlStation,
        [Description("自建站")]
        SelfBuildingStation,
        [Description("区域站")]
        AreaStation,
    }

    public enum StationOperateTypeEnum
    {
        [Description("施肥")]
        Manure = 1,
        [Description("打药")]
        Medicate = 2,
        [Description("浇水")]
        Watering = 3,
        [EnumIgnore]
        [Description("未知操作类型")]
        NoOperate = 4 
    }

    public enum OpenStatusEnum
    {
        [Description("关")]
        Close = 0,
        [Description("开")]
        Open = 1
    }

    public enum ProcessStatusEnum
    {
        InProcess,
        Wait,
        None
    }   
}
